package com.ruoyi.classes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级管理对象 xzk_classes
 * 
 * @author ruoyi
 * @date 2021-04-02
 */
public class XzkClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long classid;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String coursetitle;

    /** 班级类型 */
    @Excel(name = "班级类型")
    private String classtype;

    /** 开班人数 */
    @Excel(name = "开班人数")
    private Long begincout;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String classname;

    /** 开班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date begintime;

    /** 班主任 */
    @Excel(name = "班主任")
    private String teacher1;

    /** 教学老师 */
    @Excel(name = "教学老师")
    private String teacher2;

    public void setClassid(Long classid) 
    {
        this.classid = classid;
    }

    public Long getClassid() 
    {
        return classid;
    }
    public void setCoursetitle(String coursetitle) 
    {
        this.coursetitle = coursetitle;
    }

    public String getCoursetitle() 
    {
        return coursetitle;
    }
    public void setClasstype(String classtype) 
    {
        this.classtype = classtype;
    }

    public String getClasstype() 
    {
        return classtype;
    }
    public void setBegincout(Long begincout) 
    {
        this.begincout = begincout;
    }

    public Long getBegincout() 
    {
        return begincout;
    }
    public void setClassname(String classname) 
    {
        this.classname = classname;
    }

    public String getClassname() 
    {
        return classname;
    }
    public void setBegintime(Date begintime) 
    {
        this.begintime = begintime;
    }

    public Date getBegintime() 
    {
        return begintime;
    }
    public void setTeacher1(String teacher1) 
    {
        this.teacher1 = teacher1;
    }

    public String getTeacher1() 
    {
        return teacher1;
    }
    public void setTeacher2(String teacher2) 
    {
        this.teacher2 = teacher2;
    }

    public String getTeacher2() 
    {
        return teacher2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classid", getClassid())
            .append("coursetitle", getCoursetitle())
            .append("classtype", getClasstype())
            .append("begincout", getBegincout())
            .append("classname", getClassname())
            .append("begintime", getBegintime())
            .append("teacher1", getTeacher1())
            .append("teacher2", getTeacher2())
            .toString();
    }
}
